Integrand size = 24, antiderivative size = 250 \[ \int (a+b x)^{3/2} (A+B x) \sqrt {d+e x} \, dx=\frac {(b d-a e)^2 (5 b B d-8 A b e+3 a B e) \sqrt {a+b x} \sqrt {d+e x}}{64 b^2 e^3}-\frac {(b d-a e) (5 b B d-8 A b e+3 a B e) (a+b x)^{3/2} \sqrt {d+e x}}{96 b^2 e^2}-\frac {(5 b B d-8 A b e+3 a B e) (a+b x)^{5/2} \sqrt {d+e x}}{24 b^2 e}+\frac {B (a+b x)^{5/2} (d+e x)^{3/2}}{4 b e}-\frac {(b d-a e)^3 (5 b B d-8 A b e+3 a B e) \text {arctanh}\left (\frac {\sqrt {e} \sqrt {a+b x}}{\sqrt {b} \sqrt {d+e x}}\right )}{64 b^{5/2} e^{7/2}} \]
[Out]
Time = 0.15 (sec) , antiderivative size = 250, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {81, 52, 65, 223, 212} \[ \int (a+b x)^{3/2} (A+B x) \sqrt {d+e x} \, dx=-\frac {(b d-a e)^3 (3 a B e-8 A b e+5 b B d) \text {arctanh}\left (\frac {\sqrt {e} \sqrt {a+b x}}{\sqrt {b} \sqrt {d+e x}}\right )}{64 b^{5/2} e^{7/2}}+\frac {\sqrt {a+b x} \sqrt {d+e x} (b d-a e)^2 (3 a B e-8 A b e+5 b B d)}{64 b^2 e^3}-\frac {(a+b x)^{3/2} \sqrt {d+e x} (b d-a e) (3 a B e-8 A b e+5 b B d)}{96 b^2 e^2}-\frac {(a+b x)^{5/2} \sqrt {d+e x} (3 a B e-8 A b e+5 b B d)}{24 b^2 e}+\frac {B (a+b x)^{5/2} (d+e x)^{3/2}}{4 b e} \]
[In]
[Out]
Rule 52
Rule 65
Rule 81
Rule 212
Rule 223
Rubi steps \begin{align*} \text {integral}& = \frac {B (a+b x)^{5/2} (d+e x)^{3/2}}{4 b e}+\frac {\left (4 A b e-B \left (\frac {5 b d}{2}+\frac {3 a e}{2}\right )\right ) \int (a+b x)^{3/2} \sqrt {d+e x} \, dx}{4 b e} \\ & = -\frac {(5 b B d-8 A b e+3 a B e) (a+b x)^{5/2} \sqrt {d+e x}}{24 b^2 e}+\frac {B (a+b x)^{5/2} (d+e x)^{3/2}}{4 b e}-\frac {((b d-a e) (5 b B d-8 A b e+3 a B e)) \int \frac {(a+b x)^{3/2}}{\sqrt {d+e x}} \, dx}{48 b^2 e} \\ & = -\frac {(b d-a e) (5 b B d-8 A b e+3 a B e) (a+b x)^{3/2} \sqrt {d+e x}}{96 b^2 e^2}-\frac {(5 b B d-8 A b e+3 a B e) (a+b x)^{5/2} \sqrt {d+e x}}{24 b^2 e}+\frac {B (a+b x)^{5/2} (d+e x)^{3/2}}{4 b e}+\frac {\left ((b d-a e)^2 (5 b B d-8 A b e+3 a B e)\right ) \int \frac {\sqrt {a+b x}}{\sqrt {d+e x}} \, dx}{64 b^2 e^2} \\ & = \frac {(b d-a e)^2 (5 b B d-8 A b e+3 a B e) \sqrt {a+b x} \sqrt {d+e x}}{64 b^2 e^3}-\frac {(b d-a e) (5 b B d-8 A b e+3 a B e) (a+b x)^{3/2} \sqrt {d+e x}}{96 b^2 e^2}-\frac {(5 b B d-8 A b e+3 a B e) (a+b x)^{5/2} \sqrt {d+e x}}{24 b^2 e}+\frac {B (a+b x)^{5/2} (d+e x)^{3/2}}{4 b e}-\frac {\left ((b d-a e)^3 (5 b B d-8 A b e+3 a B e)\right ) \int \frac {1}{\sqrt {a+b x} \sqrt {d+e x}} \, dx}{128 b^2 e^3} \\ & = \frac {(b d-a e)^2 (5 b B d-8 A b e+3 a B e) \sqrt {a+b x} \sqrt {d+e x}}{64 b^2 e^3}-\frac {(b d-a e) (5 b B d-8 A b e+3 a B e) (a+b x)^{3/2} \sqrt {d+e x}}{96 b^2 e^2}-\frac {(5 b B d-8 A b e+3 a B e) (a+b x)^{5/2} \sqrt {d+e x}}{24 b^2 e}+\frac {B (a+b x)^{5/2} (d+e x)^{3/2}}{4 b e}-\frac {\left ((b d-a e)^3 (5 b B d-8 A b e+3 a B e)\right ) \text {Subst}\left (\int \frac {1}{\sqrt {d-\frac {a e}{b}+\frac {e x^2}{b}}} \, dx,x,\sqrt {a+b x}\right )}{64 b^3 e^3} \\ & = \frac {(b d-a e)^2 (5 b B d-8 A b e+3 a B e) \sqrt {a+b x} \sqrt {d+e x}}{64 b^2 e^3}-\frac {(b d-a e) (5 b B d-8 A b e+3 a B e) (a+b x)^{3/2} \sqrt {d+e x}}{96 b^2 e^2}-\frac {(5 b B d-8 A b e+3 a B e) (a+b x)^{5/2} \sqrt {d+e x}}{24 b^2 e}+\frac {B (a+b x)^{5/2} (d+e x)^{3/2}}{4 b e}-\frac {\left ((b d-a e)^3 (5 b B d-8 A b e+3 a B e)\right ) \text {Subst}\left (\int \frac {1}{1-\frac {e x^2}{b}} \, dx,x,\frac {\sqrt {a+b x}}{\sqrt {d+e x}}\right )}{64 b^3 e^3} \\ & = \frac {(b d-a e)^2 (5 b B d-8 A b e+3 a B e) \sqrt {a+b x} \sqrt {d+e x}}{64 b^2 e^3}-\frac {(b d-a e) (5 b B d-8 A b e+3 a B e) (a+b x)^{3/2} \sqrt {d+e x}}{96 b^2 e^2}-\frac {(5 b B d-8 A b e+3 a B e) (a+b x)^{5/2} \sqrt {d+e x}}{24 b^2 e}+\frac {B (a+b x)^{5/2} (d+e x)^{3/2}}{4 b e}-\frac {(b d-a e)^3 (5 b B d-8 A b e+3 a B e) \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {a+b x}}{\sqrt {b} \sqrt {d+e x}}\right )}{64 b^{5/2} e^{7/2}} \\ \end{align*}
Time = 0.66 (sec) , antiderivative size = 232, normalized size of antiderivative = 0.93 \[ \int (a+b x)^{3/2} (A+B x) \sqrt {d+e x} \, dx=\frac {\sqrt {a+b x} \sqrt {d+e x} \left (-9 a^3 B e^3+3 a^2 b e^2 (3 B d+8 A e+2 B e x)+a b^2 e \left (16 A e (4 d+7 e x)+B \left (-31 d^2+20 d e x+72 e^2 x^2\right )\right )+b^3 \left (8 A e \left (-3 d^2+2 d e x+8 e^2 x^2\right )+B \left (15 d^3-10 d^2 e x+8 d e^2 x^2+48 e^3 x^3\right )\right )\right )}{192 b^2 e^3}+\frac {(b d-a e)^3 (-5 b B d+8 A b e-3 a B e) \text {arctanh}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {e} \sqrt {a+b x}}\right )}{64 b^{5/2} e^{7/2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(967\) vs. \(2(212)=424\).
Time = 1.09 (sec) , antiderivative size = 968, normalized size of antiderivative = 3.87
method | result | size |
default | \(-\frac {\sqrt {b x +a}\, \sqrt {e x +d}\, \left (-40 B \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}\, a \,b^{2} d \,e^{2} x -9 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a^{4} e^{4}+15 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) b^{4} d^{4}+48 A \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}\, b^{3} d^{2} e -48 A \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}\, a^{2} b \,e^{3}-36 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a \,b^{3} d^{3} e +18 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a^{2} b^{2} d^{2} e^{2}-72 A \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a^{2} b^{2} d \,e^{3}+72 A \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a \,b^{3} d^{2} e^{2}+12 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a^{3} b d \,e^{3}-18 B \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}\, a^{2} b d \,e^{2}+62 B \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}\, a \,b^{2} d^{2} e +18 B \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}\, a^{3} e^{3}-30 B \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}\, b^{3} d^{3}+24 A \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a^{3} b \,e^{4}-24 A \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) b^{4} d^{3} e -224 A \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}\, a \,b^{2} e^{3} x -32 A \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}\, b^{3} d \,e^{2} x -12 B \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}\, a^{2} b \,e^{3} x +20 B \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}\, b^{3} d^{2} e x -144 B a \,b^{2} e^{3} x^{2} \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}-16 B \,b^{3} d \,e^{2} x^{2} \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}-128 A a \,b^{2} d \,e^{2} \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}-96 B \,b^{3} e^{3} x^{3} \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}-128 A \,b^{3} e^{3} x^{2} \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}\right )}{384 b^{2} \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, e^{3} \sqrt {b e}}\) | \(968\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 766, normalized size of antiderivative = 3.06 \[ \int (a+b x)^{3/2} (A+B x) \sqrt {d+e x} \, dx=\left [\frac {3 \, {\left (5 \, B b^{4} d^{4} - 4 \, {\left (3 \, B a b^{3} + 2 \, A b^{4}\right )} d^{3} e + 6 \, {\left (B a^{2} b^{2} + 4 \, A a b^{3}\right )} d^{2} e^{2} + 4 \, {\left (B a^{3} b - 6 \, A a^{2} b^{2}\right )} d e^{3} - {\left (3 \, B a^{4} - 8 \, A a^{3} b\right )} e^{4}\right )} \sqrt {b e} \log \left (8 \, b^{2} e^{2} x^{2} + b^{2} d^{2} + 6 \, a b d e + a^{2} e^{2} - 4 \, {\left (2 \, b e x + b d + a e\right )} \sqrt {b e} \sqrt {b x + a} \sqrt {e x + d} + 8 \, {\left (b^{2} d e + a b e^{2}\right )} x\right ) + 4 \, {\left (48 \, B b^{4} e^{4} x^{3} + 15 \, B b^{4} d^{3} e - {\left (31 \, B a b^{3} + 24 \, A b^{4}\right )} d^{2} e^{2} + {\left (9 \, B a^{2} b^{2} + 64 \, A a b^{3}\right )} d e^{3} - 3 \, {\left (3 \, B a^{3} b - 8 \, A a^{2} b^{2}\right )} e^{4} + 8 \, {\left (B b^{4} d e^{3} + {\left (9 \, B a b^{3} + 8 \, A b^{4}\right )} e^{4}\right )} x^{2} - 2 \, {\left (5 \, B b^{4} d^{2} e^{2} - 2 \, {\left (5 \, B a b^{3} + 4 \, A b^{4}\right )} d e^{3} - {\left (3 \, B a^{2} b^{2} + 56 \, A a b^{3}\right )} e^{4}\right )} x\right )} \sqrt {b x + a} \sqrt {e x + d}}{768 \, b^{3} e^{4}}, \frac {3 \, {\left (5 \, B b^{4} d^{4} - 4 \, {\left (3 \, B a b^{3} + 2 \, A b^{4}\right )} d^{3} e + 6 \, {\left (B a^{2} b^{2} + 4 \, A a b^{3}\right )} d^{2} e^{2} + 4 \, {\left (B a^{3} b - 6 \, A a^{2} b^{2}\right )} d e^{3} - {\left (3 \, B a^{4} - 8 \, A a^{3} b\right )} e^{4}\right )} \sqrt {-b e} \arctan \left (\frac {{\left (2 \, b e x + b d + a e\right )} \sqrt {-b e} \sqrt {b x + a} \sqrt {e x + d}}{2 \, {\left (b^{2} e^{2} x^{2} + a b d e + {\left (b^{2} d e + a b e^{2}\right )} x\right )}}\right ) + 2 \, {\left (48 \, B b^{4} e^{4} x^{3} + 15 \, B b^{4} d^{3} e - {\left (31 \, B a b^{3} + 24 \, A b^{4}\right )} d^{2} e^{2} + {\left (9 \, B a^{2} b^{2} + 64 \, A a b^{3}\right )} d e^{3} - 3 \, {\left (3 \, B a^{3} b - 8 \, A a^{2} b^{2}\right )} e^{4} + 8 \, {\left (B b^{4} d e^{3} + {\left (9 \, B a b^{3} + 8 \, A b^{4}\right )} e^{4}\right )} x^{2} - 2 \, {\left (5 \, B b^{4} d^{2} e^{2} - 2 \, {\left (5 \, B a b^{3} + 4 \, A b^{4}\right )} d e^{3} - {\left (3 \, B a^{2} b^{2} + 56 \, A a b^{3}\right )} e^{4}\right )} x\right )} \sqrt {b x + a} \sqrt {e x + d}}{384 \, b^{3} e^{4}}\right ] \]
[In]
[Out]
\[ \int (a+b x)^{3/2} (A+B x) \sqrt {d+e x} \, dx=\int \left (A + B x\right ) \left (a + b x\right )^{\frac {3}{2}} \sqrt {d + e x}\, dx \]
[In]
[Out]
Exception generated. \[ \int (a+b x)^{3/2} (A+B x) \sqrt {d+e x} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 1071 vs. \(2 (212) = 424\).
Time = 0.44 (sec) , antiderivative size = 1071, normalized size of antiderivative = 4.28 \[ \int (a+b x)^{3/2} (A+B x) \sqrt {d+e x} \, dx=\text {Too large to display} \]
[In]
[Out]
Timed out. \[ \int (a+b x)^{3/2} (A+B x) \sqrt {d+e x} \, dx=\int \left (A+B\,x\right )\,{\left (a+b\,x\right )}^{3/2}\,\sqrt {d+e\,x} \,d x \]
[In]
[Out]